package com.demo.demo.service;

import com.demo.demo.dao.SubGxDao;
import com.demo.demo.domain.SubGx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubGxService {

    @Autowired
    private SubGxDao subGxDao;

    //根据工序Id获取子工序列表
    public List<SubGx> findByGxid(long gxId) {
        return subGxDao.findByGxid(gxId);
    }
}
